package com.xbongbong.pro.invoice.pojo.dto;

import com.alibaba.fastjson.JSONObject;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Getter
@Setter
@ToString
public class InvoiceAmountDetailDTO implements Serializable {

    private static final long serialVersionUID = 1616702534458022194L;

    private List<JSONObject> supplier;

    private List<JSONObject> purchase;

    private List<JSONObject> payPlan;

    private List<JSONObject> paySheet;

    private List<JSONObject> customer;

    private List<JSONObject> contract;

    private List<JSONObject> payment;

    private List<JSONObject> paymentSheet;

    private Integer isRed;

    private Double invoiceAmount;

    private Double maxInvoiceAmount;

    private Double minInvoiceAmount;

    private Double sumAmount;

    public InvoiceAmountDetailDTO() {
       this.invoiceAmount = 0D;
       this.maxInvoiceAmount = 0D;
       this.minInvoiceAmount = 0D;
       this.sumAmount = 0D;
    }
}
